function addToGroup(obj) {
    //console.log(obj);
    var item="<a account='"+obj.account+"' class=\"group weui-cell weui-cell_access\" href=\"javascript:;\">\n" +
    "<div class='weui-cell__hd'><img src='"+obj.url+"'></div>"+
    "<div class=\"weui-cell__bd\">\n" +
    "<h3>"+obj.nickname+"</h3>\n" +
    "</div>\n" +
    "</a>";

    $("#group-list").append(item);
    $(".group").on("click",function (e) {
        showMsg({
            account:$(this).attr("account"),
            nickname:$(this).find("h3").text()
        });
    });
}